// 数值框
.status-view-data {
  @extend .box-border-gold-bg;
  display: flex;
  align-items: center;
  padding: 1px 5px;
  font-size: 12px;

  + .status-view-data {
    margin-top: 2px;
  }

  &-label {
    width: 50px;
    color: $gold;

    &.min {
      width: 30px;
    }
  }

  &-value {
    padding: {
      left: 5px;
      right: 5px;
    }
    flex: 1;
    width: 0;
    color: $prompt;
    font-weight: bold;
  }

  &.status-view-process {
    .status-view-data-value {
      position: relative;

    }
  }
}

// 带背景的模块小标题
.section-title {
  background: {
    image: url("../../ex_img/wog_infinity/v1/pic_15.png");
    repeat: no-repeat;
    size: contain;
    position: left bottom;
  };
  color: darken($gold, 10%);
  font-weight: bold;
  padding: {
    left: 30px;
  };
  margin-bottom: 10px;
}

// 背景为按钮的标题
.bg-header-title {
  display: inline-block;
  position: relative;
  color: white;
  text-shadow: 0 0 1px #000;
  padding: {
    left: 30px;
    right: 30px;
    top: 10px;
    bottom: 10px;
  };
  background: {
    image: url("../../ex_img/wog_infinity/v1/pic_4.png");
    repeat: no-repeat;
    size: 100% 100%;
    position: center;
  };
}


// 渐变边框
.box-border-gradient {
  background: {
    image: url("../../ex_img/wog_infinity/v1/pic_7.png");
    repeat: no-repeat;
    size: 40px;
    position: left top;
  };
  border: {
    image: linear-gradient(#1b1111, $gold, #1b1111) 1 1 1;
    width: 3px;
    style: solid;
  }
  padding: 20px;
  position: relative;

  &::after {
    width: 40px;
    height: 40px;
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    background: {
      image: url("../../ex_img/wog_infinity/v1/pic_8.png");
      repeat: no-repeat;
      size: 40px;
      position: left top;
    };
  }
}

// 金色边框
.box-border-gold-bg {

  border: {
    image: radial-gradient($gold, rgba($gold, .1)) 1 2;
    width: 1px;
    style: solid;
    color: rgba(#fff, .5)
  }
  background: radial-gradient(transparent, rgba($primary, .5));

}

// 带背景信息窗

.box-info-bg {
  background: {
    image: url("../../ex_img/wog_infinity/v1/pic_21.png");
    repeat: no-repeat;
    size: 100% 100%;
    position: center;
  };
}

// 关闭按钮
.close-icon {
  display: block;
  width: 26px;
  height: 26px;
  background: {
    image: url("../../ex_img/wog_infinity/v1/pic_28.png");
    repeat: no-repeat;
    size: 26px;
    position: center;
  };

  &.close-icon-fixed {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
  }
}

// 砖块型按钮，有褐色、绿色
.brick-btn {
  width: 173px;
  height: 65px;
  border: 0;
  background: {
    color: transparent;
    image: url("../../ex_img/wog_infinity/btn/btn-brown.png");
    repeat: no-repeat;
    position: center;
    size: 100% 100%;
  };
  color: #fff;
  font-weight: bolder;
  text-shadow: 1px 1px 1px rgba(#000, .3);
  font-size: 20px;
  outline: none;
  cursor: pointer;

  &:hover {
    opacity: .6;
  }

  .brick-btn {
    &-icon {
      max-width: 30px;
      max-height: 30px;
      margin-right: 5px;
    }

  }

  &.brick-btn {
    &-sm {
      width: 173px*0.8;
      height: 65px*0.8;
      font-size: 16px;
    }

    &-xs {
      height: 30px;
      width: 173px*30/65;
      font-size: 12px;
      padding: 5px;
    }

    // 绿色
    &-green {
      background-image: url('../../ex_img/wog_infinity/btn/btn-green.png');
    }

    // 拍卖
    &-auction, &-sale {
      width: 80px*.7;
      height: 32px*.7;
      font-size: 10px;
      color: #fff;

      &.brick-btn-arm-md {
        width: 80px;
        height: 32px;
        font-size: 12px;
      }
    }

    &-sale {
      background-image: url('../../ex_img/wog_infinity/btn/btn-grey.png');
    }

    &-auction {
      background-image: url('../../ex_img/wog_infinity/btn/btn-red.png');
    }
  }
}

// 游戏风格的input
.game-input {
  height: 30px;
  padding: {
    left: 10px;
    right: 10px;
  };
  @extend .box-border-gold-bg;
  font-size: 14px;
  outline: none;
  color: #fff;

  &:focus {
    background-color: rgba($brown, .4);

  }
}

// select

.game-select {
  height: 30px;
  width: 100%;
  @extend .box-border-gold-bg;
  color: #fff;
  font-weight: bold;

  option {
    background-color: $prompt;
    color: #fff;
  }
}